home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / ulp091b.zip / ULP.CFG < prev    next >
Text File  |  1992-03-02  |  16KB  |  360 lines

  1. ;
  2. ;
  3. ;    ┌───────────────────┐
  4. ;    │                   │ ║       UpLoadProcessor Configuration File
  5. ;    │    ╥   ╥ ╥        │ ║
  6. ;    │    ║   ║ ║ ╓──╖   │ ║                 Version 0.91ß
  7. ;    │    ║   ║ ║ ║  ║   │ ║
  8. ;    │    ╙───╜ ╨ ║──╜   │ ║        (c) Copyright 1992 - Stacy Smith
  9. ;    │            ╨      │ ║
  10. ;    └───────────────────┘ ║
  11. ;      ════════════════════╝
  12. ;
  13. ;        The latest version of ULP can always be obtained from my BBS:
  14. ;
  15. ;                        The Bloom Beacon-Picayune BBS
  16. ;                               (804) 525-9760
  17. ;                     300-14,400 Baud (USRobotics V.32bis)
  18. ;                 FidoNet 1:276/112 (magic tags ULP and ULP286)
  19. ;
  20. ; NOTE: I have tried to make this configuration file as flexible as possible,
  21. ;       but it would probably be a good idea to not rearrange it too much if
  22. ;       it can be avoided...
  23. ;
  24. ;
  25. ; ╔════════════════════════════════════╗
  26. ; ║   General Options And Parameters   ║
  27. ; ╚════════════════════════════════════╝
  28. ;
  29. ; The registration code, BBS name and sysop name EXACTLY as provided to you on
  30. ; your registration letter. If this is an unregistered version, comment out
  31. ; these lines, or don't change them. Note that these are case-sensitive!
  32. REG_CODE     0000000000
  33. BBS_NAME     UNREGISTERED
  34. SYSOP_NAME   SYSOP
  35. ; The size of the disk I/O buffers you wish to allocate in bytes (valid values
  36. ; are between 2048 bytes and 16384 bytes). Optimal performance is obtained with
  37. ; a value that is a multiple of 2048 (a typical hard disk cluster size).
  38. DISK_BUFFER  8192
  39. ; The path/filename of the log file for ULP to record its activities. Comment
  40. ; out if you don't want disk logging.
  41. LOG_FILE     c:\ulp\ulp.log
  42. ; If you want ULP and ULPTEST to record their statistics on each archive
  43. ; processed to the log file, add the VERBOSE keyword. If you only want errors
  44. ; and summary statistics, use the TERSE keyword or comment the line out.
  45. LOG_MODE     verbose
  46. ; If you want ULP to insert internal description files (FILE_ID.DIZ or
  47. ; DESC.SDI), type YES; if not, type NO or comment the line out.
  48. INT_DESC     yes
  49. ; If you want ULPDB to use a specific directory for decompressing archives
  50. ; while generating the database, place the pathname (including the trailing
  51. ; backslash). This directory must exist. If you do not desire to use a
  52. ; specific directory, comment it out (ULPDB will extract at its current
  53. ; location on disk).
  54. WORK_DIR     c:\temp\
  55. ; This defines how ULP dispositions archives found to have an error other than
  56. ; a file check failure (such as ZIP CRC). If you want ULP to delete the archive
  57. ; and description, type DELETE; if you want ULP to rename the archive to a .ERR
  58. ; extension, type RENAME or comment the line out.
  59. ERR_DISP     rename
  60. ; This defines how ULP dispositions archives that fail a file check, such as a
  61. ; virus scan. If you want ULP to delete the archive and description, type
  62. ; DELETE; if you want ULP to rename the archive to a .VRS extension, type
  63. ; RENAME or comment the line out.
  64. VIRUS_DISP   delete
  65. ; If you want ULP and ULPTEST to screen ARC, PAK, ZIP and ZIP SFX archives for
  66. ; DOS reserved keywords prior to unpacking them, type YES or comment the line
  67. ; out, otherwise, type NO. This will prevent someone from hanging your system
  68. ; by hex-editing one of these archives and replacing a filename with a DOS
  69. ; reserved device keyword.
  70. SCREEN_ARC   yes
  71. ;
  72. ;
  73. ; ╔════════════════════════╗
  74. ; ║   Upload Directories   ║
  75. ; ╚════════════════════════╝
  76. ;
  77. ; Each pair of upload directories (one private, and one public), is denoted by
  78. ; UL_DIR x, where x is a sequential number. Up to 10 directory pairs can be
  79. ; processed by ULP. The next 6 keywords are required after the UL_DIR statement;
  80. ; do not comment any of them out or insert other parameters or comments in
  81. ; between them:
  82. ; UL_DIR      = denotes a new directory pair.
  83. ; SOURCE_PATH = the directory where the private uploads are placed by the BBS.
  84. ;               Note: this must include the trailing backslash!
  85. ; SOURCE_LIST = the private upload directory list file that contains the archive
  86. ;               descriptions, including the path.
  87. ; SOURCE_HDR  = the number of lines to ignore at the beginning of the private
  88. ;               upload directory list file (for headers, detachable header
  89. ;               filespecs, etc.)
  90. ; DEST_PATH   = the directory where the public uploads are placed by ULP after
  91. ;               successful processing. Note: this must include the trailing
  92. ;               backslash!
  93. ; DEST_LIST   = the public upload directory list file that contains the archive
  94. ;               descriptions, including the path. ULP will append this file
  95. ;               with the descriptions of successfully processed files.
  96. ; DEST_HDR    = the number of lines to ignore at the beginning of the public
  97. ;               upload directory list file (for headers, detachable header
  98. ;               filespecs, etc.)
  99. UL_DIR       1
  100. SOURCE_PATH  c:\privul\
  101. SOURCE_LIST  c:\pcb\gen\prvuldir
  102. SOURCE_HDR   1
  103. DEST_PATH    c:\publul\
  104. DEST_LIST    c:\pcb\gen\newuldir
  105. DEST_HDR     1
  106. ;
  107. ;
  108. ; ╔════════════════════════╗
  109. ; ║   Age Limit Checking   ║
  110. ; ╚════════════════════════╝
  111. ;
  112. ; If you want ULP to fail an archive based on the date of its most recent
  113. ; file, type YES; if not, type NO or comment the line out.
  114. AGE_CHK      yes
  115. ; The maximum age in months, that you will accept as an upload.
  116. AGE_LIMIT    48
  117. ;
  118. ;
  119. ; ╔═════════════════════════════╗
  120. ; ║   Archiving Control Flags   ║
  121. ; ╚═════════════════════════════╝
  122. ;
  123. ; If you want ULP to convert the archive to a default archiving format of your
  124. ; choice, type YES; if not, type NO or comment the line out.
  125. ARC_CVT      yes
  126. ; If you want ULP to convert any internal archives within the archive to your
  127. ; default archiving format, type YES; if not, type NO or comment the line out.
  128. ; This may save some disk space, but will potentially mess up any automatic
  129. ; installation programs/batch files contained within the archive.
  130. ARC_NEST_CVT no
  131. ; If you want ULP to convert a self-extracting (SFX) archive to your default
  132. ; archiving format, type YES; if not, type NO or comment the line out. This
  133. ; also may save some disk space, but can cause problems. For example, if you
  134. ; don't have PKZ110.EXE on your BBS, a novice user has no way of obtaining the
  135. ; PKZIP/PKUNZIP utilities from your BBS.
  136. SFX_CVT      no
  137. ; If you want ULP to keep ZIP archives with authenticity verification stamps
  138. ; (-AV) regardless of the other archiving control flags, then set this to 'yes'
  139. ; or comment it out. If you set this flag to 'no', then the archive will be
  140. ; recompressed per the other control flags.
  141. KEEP_AV      yes
  142. ; If you want ULP to keep ARJ archives with security envelopes (similar to a
  143. ; ZIP -AV) regardless of the other archiving control flags, then set this
  144. ; to 'yes' or comment it out. If you set this flag to 'no', then the archive
  145. ; will be recompressed per the other control flags.
  146. KEEP_ENV     yes
  147. ;
  148. ;
  149. ; ╔══════════════════════════╗
  150. ; ║   Archiver Definitions   ║
  151. ; ╚══════════════════════════╝
  152. ;
  153. ; Each archiver, is denoted by ARCHIVER x, where x is a sequential number. Up
  154. ; to 10 archivers can be executed by ULP. ULP is capable of automatically
  155. ; detecting ARC, ARJ, HYP, LZH, PAK, ZIP and ZOO archives. The next 6 keywords
  156. ; are required after the ARCHIVER statement; do not comment any of them out or
  157. ; insert other parameters or comments between them. I would also advise
  158. ; against changing the command options I have set, unless you have need to do
  159. ; so. Most are to ensure uninterrupted processing (such as '/m1' in LHA).
  160. ; ARCHIVER    = denotes a new archiver definition.
  161. ; ARC_EXT     = the extension for this particular archiving format.
  162. ; ARC_PRIMARY = if this is the default archiving format you use on your BBS, 
  163. ;               type YES; if not, type NO.
  164. ; ARC_PACK    = the command line to pack archives, including all command-line
  165. ;               switches desired. Place the variable @ARCHIVE@ where the
  166. ;               filename is to be inserted in the command line and @FILES@ 
  167. ;               where the filespec is to be inserted. If you want a comment to
  168. ;               be inserted, you must include it in the command-line switches.
  169. ; ARC_UNPACK  = the command line to unpack archives, including all command-line
  170. ;               switches desired. Place the variable @ARCHIVE@ where the 
  171. ;               filename is to be inserted in the command line.
  172. ; ARC_TEST    = the command line to test archives, including all command-line
  173. ;               switches desired. Place the variable @ARCHIVE@ where the
  174. ;               filename is to be inserted in the command line.
  175. ; ARC_ERR     = the errorlevel that the archiver returns upon success. This
  176. ;               information should be available in the program's documentation.
  177. ARCHIVER     1
  178. ARC_EXT      arc
  179. ARC_PRIMARY  no
  180. ARC_PACK     pkpak -a @ARCHIVE@ @FILES@
  181. ARC_UNPACK   pkunpak -r @ARCHIVE@
  182. ARC_TEST     pkunpak -t @ARCHIVE@
  183. ARC_ERR      0
  184. ;
  185. ARCHIVER     2
  186. ARC_EXT      arj
  187. ARC_PRIMARY  yes
  188. ARC_PACK     arj a -e -jm -m1 -zc:\ulp\comment.txt @ARCHIVE@ @FILES@
  189. ARC_UNPACK   arj e -y @ARCHIVE@
  190. ARC_TEST     arj t @ARCHIVE@
  191. ARC_ERR      0
  192. ;
  193. ARCHIVER     3
  194. ARC_EXT      hyp
  195. ARC_PRIMARY  no
  196. ARC_PACK     hyper -a @ARCHIVE@ @FILES@
  197. ARC_UNPACK   hyper -x @ARCHIVE@
  198. ARC_TEST     hyper -v @ARCHIVE@
  199. ARC_ERR      0
  200. ;
  201. ARCHIVER     4
  202. ARC_EXT      lzh
  203. ARC_PRIMARY  no
  204. ARC_PACK     lha a /m1 @ARCHIVE@ @FILES@
  205. ARC_UNPACK   lha e /m1 @ARCHIVE@
  206. ARC_TEST     lha t /m1 @ARCHIVE@
  207. ARC_ERR      0
  208. ;
  209. ARCHIVER     5
  210. ARC_EXT      pak
  211. ARC_PRIMARY  no
  212. ARC_PACK     pak a /h /wa @ARCHIVE@ @FILES@
  213. ARC_UNPACK   pak e /wa @ARCHIVE@
  214. ARC_TEST     pak t /wa @ARCHIVE@
  215. ARC_ERR      0
  216. ;
  217. ARCHIVER     6
  218. ARC_EXT      zip
  219. ARC_PRIMARY  no
  220. ARC_PACK     pkzip -a -ex -z<c:\ulp\comment.txt @ARCHIVE@ @FILES@
  221. ARC_UNPACK   pkunzip -o @ARCHIVE@
  222. ARC_TEST     pkunzip -t @ARCHIVE@
  223. ARC_ERR      0
  224. ;
  225. ARCHIVER     7
  226. ARC_EXT      zoo
  227. ARC_PRIMARY  no
  228. ARC_PACK     zoo ahP @ARCHIVE@ @FILES@
  229. ARC_UNPACK   zoo e @ARCHIVE@
  230. ARC_TEST     zoo t @ARCHIVE@
  231. ARC_ERR      0
  232. ;
  233. ;
  234. ; ╔═══════════════════════════════════╗
  235. ; ║   Uncompressed Files to Process   ║
  236. ; ╚═══════════════════════════════════╝
  237. ;
  238. ; ULP can process selected uncompressed uploads, using the PROC_EXT option.
  239. ; Up to 10 uncompressed file types can be specified by extension. DO NOT
  240. ; use any compression format extensions (ARJ, ZIP, etc.). If you do not
  241. ; want to process any uncompressed uploads, simply remove or comment out
  242. ; the lines.
  243. PROC_EXT     com
  244. PROC_EXT     doc
  245. PROC_EXT     txt
  246. ;
  247. ;
  248. ; ╔══════════════════════════════════════════╗
  249. ; ║   File Checking (Virus Scanning, etc.)   ║
  250. ; ╚══════════════════════════════════════════╝
  251. ;
  252. ; Each file checker is denoted by FILE_CHECKER x, where x is a sequential
  253. ; number. Up to 5 file checking programs can be executed by ULP. The next 2
  254. ; keywords are required after the FILE_CHECKER statement; do not comment them
  255. ; out or insert other parameters or comments in between them.
  256. ; FILE_CHECKER = denotes a new file checking/virus program definition.
  257. ; FILE_CHK_CMD = the command line to execute each file checker, including all
  258. ;                command-line switches. Place the variable @FILES@ where the
  259. ;                filespec is to be placed on the command line.
  260. ; FILE_CHK_ERR = the errorlevel that the file checking program returns upon
  261. ;                success. This information should be available in the
  262. ;                program's documentation.
  263. FILE_CHECKER 1
  264. FILE_CHK_CMD scan /a /nomem /nopause @FILES@
  265. FILE_CHK_ERR 0
  266. ;
  267. ;
  268. ; ╔═══════════════════════╗
  269. ; ║   GIF File Checking   ║
  270. ; ╚═══════════════════════╝
  271. ;
  272. ; Each GIF file checker is denoted by GIF_CHECKER x, where x is a sequential
  273. ; number. Up to 5 GIF file checking programs can be executed by ULP. The next
  274. ; 2 keywords are required after the GIF_CHECKER statement; do not comment
  275. ; them out or insert other parameters or comments in between them.
  276. ; GIF_CHECKER = denotes a new file checking/virus program definition.
  277. ; GIF_CHK_CMD = the command line to execute each GIF file checker, including
  278. ;               all command-line switches. Place the variable @FILES@ where
  279. ;               the filespec is to be placed on the command line.
  280. ; GIF_CHK_ERR = the errorlevel that the GIF file checking program returns
  281. ;               upon success. This information should be available in the
  282. ;               program's documentation.
  283. GIF_CHECKER  1
  284. GIF_CHK_CMD  c:\giftest\giftest /b:0 @FILES@
  285. GIF_CHK_ERR  0
  286. ;
  287. ;
  288. ; ╔═════════════════════════════════════════╗
  289. ; ║   Archive Information Line Parameters   ║
  290. ; ╚═════════════════════════════════════════╝
  291. ;
  292. ; If you want ULP to add a single line to the archive description, type YES;
  293. ; if not, type NO or comment the line out.
  294. INFO_LINE    yes
  295. ; The column where the | marker goes in your directory listing setup. The
  296. ; standard PCBoard setup indents to column 32.
  297. INFO_INDENT  32
  298. ; The format that you would like for the information line. The legal variables
  299. ; are:   @#@        Number of files in the archive (and nested archives)
  300. ;        @NEWEST@   Date of the newest file in the archive
  301. ;        @OLDEST@   Date of the oldest file in the archive
  302. ;        @BYTES@    The total number of bytes (uncompressed) in the archive
  303. INFO_FORMAT  (Files: @#@ Newest: @NEWEST@ Oldest: @OLDEST@)
  304. ;
  305. ;
  306. ; ╔════════════════════════════════╗
  307. ; ║   ULPTEST Testing Parameters   ║
  308. ; ╚════════════════════════════════╝
  309. ;
  310. ; This defines how ULPTEST processes archives. NORMAL indicates a full test
  311. ; is to be performed, identical to the ULP event processing except that the
  312. ; archive formats are not converted (this is a limitation of PCBoard).
  313. ; FAST indicates a fast test in which the archive is scanned for archive
  314. ; integrity, duplicates, and age without unpacking the archive (ARJ and ZIP
  315. ; files only). If this mode is used, it should be held for later processing
  316. ; by ULP so that it can be file-checked.
  317. TEST_MODE    normal
  318. ; If NORMAL mode is used, the archive's file size will first be compared
  319. ; against this limit (in kilobytes). If it is larger than this number of
  320. ; bytes (in kilobytes), it will be forced into FAST mode to speed the process
  321. ; and prevent wasting the user's online time. Entering 0, or commenting the
  322. ; line out will disable this feature.
  323. TEST_LIMIT     250
  324. ;
  325. ;
  326. ; ╔══════════════════════════╗
  327. ; ║   BBS Ads File Removal   ║
  328. ; ╚══════════════════════════╝
  329. ;
  330. ; If you want ULP to remove known BBS ads from new uploads during processing,
  331. ; type YES; if not, type NO or comment the line out.
  332. ADS_CHK      yes
  333. ; The directory path and name for the BBS ads database.
  334. ADS_DB       c:\ulp\ulpads.db
  335. ;
  336. ;
  337. ; ╔═══════════════════════════════╗
  338. ; ║   CRC-32 Duplicate Checking   ║
  339. ; ╚═══════════════════════════════╝
  340. ;
  341. ; If you want ULP to use its internal CRC-32 duplication checking, type YES;
  342. ; if not, type NO or comment the line out. If you want to use a third-party
  343. ; duplication checker, such as ZDCS, you can add it as a file checker (above),
  344. ; providing it returns DOS errorlevels so ULP can detect its success/failure.
  345. DUPE_CHK     yes
  346. ; The maximum percentage of duplication allowed for a file to pass. Anything
  347. ; larger will fail. This number at least be over 50, as some program authors
  348. ; don't modify every file, especially with maintenance releases.
  349. DUPE_LIMIT   75
  350. ; The directory path listing file for database generation. Generally, this
  351. ; will the DLPATH.LST file defined in PCBOARD.DAT.
  352. DUPE_LIST     c:\ulp\dlpath.lst
  353. ; The path and name for the main CRC-32 database file.
  354. DUPE_DB      c:\ulp\database.db
  355. ; The path and name for the main CRC-32 database file index.
  356. DUPE_IDX     c:\ulp\database.idx
  357. ;
  358. ; End of ULP configuration file...
  359. ;
  360.